package com.time.workbench;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@Slf4j
@MapperScan(basePackages = {"com.time.workbench.*.mapper"})
@EnableScheduling
@EnableAdminServer
@Import(cn.hutool.extra.spring.SpringUtil.class)
public class WorkBenchApplication {

    public static void main(String[] args) {
        SpringApplication.run(WorkBenchApplication.class, args);
        log.info("workbench-Server启动成功");
        log.info("接口文档地址 http://127.0.0.1:8495/api/api.html");
    }

}
